/* @INLINE FILE tagline.bloc.js =============================================================
	* Tagline functions
	* 
	* VAR
	* tagline
	* 
	* FUNC
	* setTag
	* this.setTagline
	* this.unlockTagline
	*/
	
    var tagline;
    
    var setTag = function(u){
    	var dsp = (a.tag[u] != ''?'inline':_n);
    	jQ('.fc_' + u + 'tag').css("display",dsp).html('&nbsp;&bull;&nbsp;'+a.tag[u]+'&nbsp;&bull;&nbsp;');
    };
    
    this.setTagline = function(u){
    	if (!l) {
    		tagline = jGo.util.trim(escapeStr($('fc_tagline').value.substr(0,50)));
	        req = zpad_left(10+checkLength(tagline));
		    var uStr = u.toString();
	        req += 'u' + uStr.length + zpad_right(uStr) + tagline;
	        sendReq(req);
	        $('fc_tagline').value = '';
	        $('fc_tagline_set').style.visibility='hidden';
	        $('fc_tagline').disabled = true;
	        setTimeout('fc_chat.unlockTagline('+u+')',250);
    	}
    };
    
    this.unlockTagline = function(u){
    		a.tag[u]=_unescape(tagline);
    		setTag(u);
    		$('fc_tagline').disabled = false;
    		$('fc_tagline_set').style.visibility='visible';
    };
    
    //tagline.bloc.js =============================================================@END FILE*/